package com.firewolf.dao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Repository;

import com.firewolf.entites.Person;

@Repository
public class PsersonDao {

	@PersistenceContext
	private EntityManager manager;
	
	public void addPerson(Person p) {
		manager.persist(p);
	}

}
